<template>
	<view>
		<view  v-for="(item,index) in datalist" style="margin: 10rpx;">
		<cardViewText 
		:title="item.title"
		:isTop="item.isTop"
		:author="item.author"
		:comments="item.comments"
		:timedata="item.timedata">
		</cardViewText>
		</view>
	</view>
</template>

<script>
	import cardViewText from '../../components/cardViewText.vue'
	export default {
		components:{
			cardViewText
		},
		data() {
			return {
				datalist:[{
					title:"第一观察｜锚定目标 团结奋进",
					isTop: true,
					author: "新华社",
					comments: 1184000,
					timedata: "2025.10.27"
				},{
					title:"一粒种”何以驱动产业升级",
					isTop: true,
					author: "人民网",
					comments: 3189,
					timedata: "2025.10.28"
				},{
					title:"新疆巴州：“死亡之海”爆改“鱼米之乡”",
					isTop: false,
					author: "新疆总站",
					comments: 130771,
					timedata: "2025.10.27"
				},{
					title:"跟着这些非遗文化，感受老区风土人情",
					isTop: false,
					author: "光明网",
					comments: 45071,
					timedata: "2025.10.26"
				}]
			}
		},
		
		
		methods: {
			
		}
	}
</script>

<style>

</style>
